package net.jlnx.Uebung1.data;

public class Ellipse extends FigMZLA {

	public Ellipse(int posX, int posY, int a, int b) {
		super(posX, posY, a, b);
		super.figurenTyp = "Ellipse";
	}

	public double berechneFlaeche() {
		double flaeche = super.A * super.B * Math.PI;
		return flaeche;
	}

}